package com.flynn.rock.system.api;

import com.flynn.rock.model.dto.OperateLogDto;
import com.flynn.rock.system.service.SysOperateLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SysOperateLogApi implements ISysOperateLogApi {

    @Autowired
    private SysOperateLogService sysOperateLogService;

    @Override
    public void saveOperateLog(OperateLogDto operateLog) {
        sysOperateLogService.saveOperateLog(operateLog);
    }
}
